<?php

/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 15-5-19
 * Time: 下午4:29
 */
class Test extends CI_Controller
{
    function __construct()
    {
        parent::__construct();
    }

    function index()
    {
        $app = constant("APP");
//        echo constant("APP") . "<br>" . constant("SELF") . "<br>" . constant("EXT") . "<br>" . constant("BASEPATH") . "<br>" . constant("FCPATH") . "<br>" . constant("SYSDIR") . "<br>" . constant("APPPATH") . "<br>";
        $data['header'] = "<link rel='stylesheet' href='" . $app . "/public/css/bootstrap.css'><script src='" . $app . "/public/js/jquery.js'></script><script src='" . $app . "/public/js/bootstrap.min.js'></script>";
        $this->load->view("test", $data);
    }
}